package com.szc.fs.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * @title: JQRBean
 * @Author Liuyang Tian
 * @Date: 2023/2/15 18:36
 * @Version 1.0
 */
public class NewsInfo {
    @TableId(value="id",type = IdType.AUTO)
    private int id;
    private String title;
    private String url;
    private String submitUser;
    private String submitDate;
    private int pushStatus;
    private String pushDate;

    @Override
    public String toString() {
        return "JQRServiceImp{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", url='" + url + '\'' +
                ", submitUser='" + submitUser + '\'' +
                ", submitDate='" + submitDate + '\'' +
                ", pushStatus=" + pushStatus +
                ", pushDate='" + pushDate + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getSubmitUser() {
        return submitUser;
    }

    public void setSubmitUser(String submitUser) {
        this.submitUser = submitUser;
    }

    public String getSubmitDate() {
        return submitDate;
    }

    public void setSubmitDate(String submitDate) {
        this.submitDate = submitDate;
    }

    public int getPushStatus() {
        return pushStatus;
    }

    public void setPushStatus(int pushStatus) {
        this.pushStatus = pushStatus;
    }

    public String getPushDate() {
        return pushDate;
    }

    public void setPushDate(String pushDate) {
        this.pushDate = pushDate;
    }

    public NewsInfo(String title, String url, String submitUser, String submitDate, int pushStatus, String pushDate) {
        this.title = title;
        this.url = url;
        this.submitUser = submitUser;
        this.submitDate = submitDate;
        this.pushStatus = pushStatus;
        this.pushDate = pushDate;
    }

    public NewsInfo() {
    }
}
